home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Buch / Movie1.cpp < prev    next >
C/C++ Source or Header  |  1998-12-31  |  762b  |  26 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4.  
  5. #include "Movie1.h"
  6. //---------------------------------------------------------------------------
  7. static inline TMovie *ValidCtrCheck()
  8. {
  9.     return new TMovie(NULL);
  10. }
  11. //---------------------------------------------------------------------------
  12. __fastcall TMovie::TMovie(TComponent* Owner)
  13.     : TImage(Owner)
  14. {
  15. }
  16. //---------------------------------------------------------------------------
  17. namespace Movie1
  18. {
  19.     void __fastcall Register()
  20.     {
  21.         TComponentClass classes[1] = {__classid(TMovie)};
  22.         RegisterComponents("ZusΣtzlich", classes, 0);
  23.     }
  24. }
  25. //---------------------------------------------------------------------------
  26.